package com.tjhzzx.hnceCore2024.model.menu;

import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
import javax.baja.util.BFolder;

public class BTreeMenuGroup extends BFolder {

    public static final Property enabled = newProperty(0, true, null);

    public boolean getEnabled() {
        return getBoolean(enabled);
    }

    public void setEnabled(boolean v) {
        setBoolean(enabled, v, null);
    }

    public static final Property title = newProperty(0, "", null);

    public String getTitle() {
        return getString(title);
    }

    public void setTitle(String v) {
        setString(title, v, null);
    }

    @Override
    public Type getType() {
        return TYPE;
    }

    public static final Type TYPE = Sys.loadType(BTreeMenuGroup.class);
}
